<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改科目映射')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-yonbipKmys-edit" th:object="${yonbipKmys}">
            <input name="kmbm" th:field="*{kmbm}" type="hidden">
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">科目名称：</label>
                    <div class="col-sm-8">
                        <input name="kmmc" th:field="*{kmmc}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">是否末级：</label>
                    <div class="col-sm-8">
                        <input name="ismj" th:field="*{ismj}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助类型名称：</label>
                    <div class="col-sm-8">
                        <input name="fzlxmc" th:field="*{fzlxmc}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">科目转辅助的：</label>
                    <div class="col-sm-8">
                        <input name="kmzfz" th:field="*{kmzfz}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">标准化科目编码：</label>
                    <div class="col-sm-8">
                        <input name="bzhkmbm" th:field="*{bzhkmbm}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">标准化科目名称：</label>
                    <div class="col-sm-8">
                        <input name="bzhkmmc" th:field="*{bzhkmmc}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">科目所需辅助项：</label>
                    <div class="col-sm-8">
                        <input name="kmsxfzx" th:field="*{kmsxfzx}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算项目1：</label>
                    <div class="col-sm-8">
                        <input name="fzhsxm1" th:field="*{fzhsxm1}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算档案1：</label>
                    <div class="col-sm-8">
                        <input name="fzhsda1" th:field="*{fzhsda1}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算项目2：</label>
                    <div class="col-sm-8">
                        <input name="fzhsxm2" th:field="*{fzhsxm2}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算档案2：</label>
                    <div class="col-sm-8">
                        <input name="fzhsda2" th:field="*{fzhsda2}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算项目3：</label>
                    <div class="col-sm-8">
                        <input name="fzhsxm3" th:field="*{fzhsxm3}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算档案3：</label>
                    <div class="col-sm-8">
                        <input name="fzhsda3" th:field="*{fzhsda3}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算项目4：</label>
                    <div class="col-sm-8">
                        <input name="fzhsxm4" th:field="*{fzhsxm4}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助核算档案4：</label>
                    <div class="col-sm-8">
                        <input name="fzhsda4" th:field="*{fzhsda4}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">辅助项追加：</label>
                    <div class="col-sm-8">
                        <input name="mark" th:field="*{mark}" class="form-control" type="text">
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/yonbipKmys";
        $("#form-yonbipKmys-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-yonbipKmys-edit').serialize());
            }
        }
    </script>
</body>
</html>